package com.example.ibsp_demo.pojo.entity.content;

public class Channel {
    private Integer cid;
    private Integer pid;
    private String  name;
    private String  cover;//封面url ？这个似乎没有存在的必要？
    private Integer onlineCount;//在线人数
    private String  description;//描述（简介）

    public Channel() {
    }

    public Channel(Integer cid, Integer pid, String name, String cover, Integer onlineCount, String description) {
        this.cid = cid;
        this.pid = pid;
        this.name = name;
        this.cover = cover;
        this.onlineCount = onlineCount;
        this.description = description;
    }

    @Override
    public String toString() {
        return "Channel{" +
                "cid=" + cid +
                ", pid=" + pid +
                ", name='" + name + '\'' +
                ", cover='" + cover + '\'' +
                ", onlineCount=" + onlineCount +
                ", description='" + description + '\'' +
                '}';
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getOnlineCount() {
        return onlineCount;
    }

    public void setOnlineCount(Integer onlineCount) {
        this.onlineCount = onlineCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
